<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="js/jquery.js"></script>
</head>
<body>
    <div class="jq"></div>
</body>
<script>
    $(function () { 
        var name = 'zs';
        $('.jq').text('JQ dom 操作'+name);
        $('.jq').text(`${name}`);
     })
</script>
</html>